package com.oldking.utils;

import javafx.scene.control.Alert;

public class AlertMessageUtil {

    public static void msg(Alert.AlertType information, String title, String msg, String info) {
        Alert alert = new Alert(information);
        alert.setTitle(title);
        alert.setHeaderText(msg);
        alert.setContentText(info);
        alert.showAndWait();
    }
}
